package com.cwt.service.service;

import com.cwt.common.result.AjaxResult;
import com.cwt.service.base.IBaseService;
import com.cwt.service.domain.SysRoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Acer
* @description 针对表【sys_role_menu(角色-权限 关系表)】的数据库操作Service
* @createDate 2023-07-19 14:06:59
*/
public interface SysRoleMenuService extends IBaseService<SysRoleMenu> {

    /**
     * 根据权限 id 获取菜单
     * @param roleId    权限id
     * @return  菜单集合
     */
    AjaxResult selectMenusByRoleId(int roleId);

}
